package com.itheima.auth.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/order")
public class OrderController {
    @RequestMapping("/findAll")
    public String findAll(){
        return "order-list";
    }

    @RequestMapping("/orderTest")
    public String orderTest(String str){
        return "订单接口测试成功，返回参数： " + str;
    }
}
